<!--
 * @Author: wangming
 * @Date: 2021-12-24 17:48:28
 * @LastEditors: wangming
 * @LastEditTime: 2021-12-27 11:37:46
 * @FilePath: /hanma-application-designer-fed/src/components/dynamicForm/mainContent/__layouts/hlEcharts/index.vue
 * @Description: 
-->
<template>
  <div class="ks-col tc" :style="{ height: config.__config.height + 'px' }">
    <img :src="temUrl" />
  </div>
</template>

<script>
import mixins from "../mixins.js";
export default {
  mixins: [mixins],
  data() {
    return {
      configMap: {
        eCustomChart: require("./BaseBarChart.png"),
        eBarChart: require("./BaseBarChart.png"),
        ePieChart: require("./BasePieChart.png"),
      },
    };
  },
  computed: {
    temUrl() {
      return this.configMap[this.config.tagName];
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
img {
  width: 80%;
  height: 80%;
}
</style>